using PropertyExpression.ReactiveRelation.Test.Common;
using PropertyExpression.ReactiveRelation.Test.Demo.Properties;

namespace PropertyExpression.ReactiveRelation.Test.Demo
{
    internal static class DataContextProviderHolder
    {
        public static readonly DataContextProvider<DataClassesDataContext> Provider
            = new DataContextProvider<DataClassesDataContext>(
                connection => new DataClassesDataContext(connection), 
                () => Settings.Default.ReactiveRelationDemoTestConnectionString);
    }
}